<div class="row">
  <div class="col-lg-6">
    <app-status-card
      [title]="'待审批食品数'"
      [value]="awaitApproval"
      [actionName]="'查看审批'"
      [actionLink]="'/company/food'"
      [iconClass]="'nb-lightbulb'"
      [type]="'primary'"
    ></app-status-card>
  </div>
  <div class="col-lg-6">
    <app-status-card
      [title]="'一周内生产数'"
      [value]="producePlan"
      [actionName]="'生产报备'"
      [actionLink]="'/company/produce/find'"
      [iconClass]="'nb-coffee-maker'"
      [type]="'success'"
    ></app-status-card>
  </div>

</div>
<div class="row">
  <div class="col-lg-4">
    <nb-card>
      <nb-card-header>
        最近生产食品
      </nb-card-header>
      <nb-card-body>
        <div echarts [options]="pieOptions" class="echart"></div>
      </nb-card-body>
    </nb-card>
  </div>
  <div class="col-lg-8">
    <nb-card>
      <nb-card-header>
        最近生产数量
      </nb-card-header>
      <nb-card-body>
        <div echarts [options]="areaOptions" class="echart"></div>
      </nb-card-body>
    </nb-card>
  </div>
</div>
